package com.iterative.mysql.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.iterative.common.persistence.HibernateDao;
import com.iterative.common.service.BaseService;
import com.iterative.mysql.dao.ConnectDao;
import com.iterative.mysql.entity.MysqlConnect;

@Service
@Transactional(readOnly=true)
public class ConnectService extends BaseService<MysqlConnect, Long>{

	@Autowired
	private ConnectDao connectDao;
	
	@Override
	public HibernateDao<MysqlConnect, Long> getEntityDao() {
		return connectDao;
	}

	

}
